#include "Rectangle.h"

Rectangle::Rectangle(std::vector<double> &_data)
    : Figure::Figure(_data)
{

}

void Rectangle::setData(std::vector<double> &_data)
{
    Figure::setData(_data);
}

std::vector<double> Rectangle::getData()
{
    return Figure::getData();
}

std::pair<double, double> Rectangle::getCentrePoint()
{
    return Figure::getCentrePoint();
}

void Rectangle::extension(double coefficient)
{
    Figure::extension(coefficient);
}

void Rectangle::shift(double coefficient1, double coefficient2)
{
    Figure::shift(coefficient1, coefficient2);
}

void Rectangle::turn(double angle)
{
    Figure::turn(angle);
}

FigureType Rectangle::type()
{
    return rect;
}

Rectangle::~Rectangle()
{

}
